home *** CD-ROM | disk | FTP | other *** search
/ Champak 140 / (Vol 140) Sep 19 2011.iso / Games / red_cross_eru.swf / scripts / __Packages / gamebase / need / Person.as < prev    next >
Text File  |  2011-09-19  |  9KB  |  232 lines

  1. §§push(true);
  2. §§push(false);
  3. §§push(false);
  4. §§push(true);
  5. while(true)
  6. {
  7.    if(┬º┬ºpop())
  8.    {
  9.    }
  10.    if(┬º┬ºpop())
  11.    {
  12.    }
  13.    if(┬º┬ºpop())
  14.    {
  15.       break;
  16.    }
  17.    ┬º┬ºpush(true);
  18.    ┬º┬ºpush(false);
  19. }
  20. if(!e.f)
  21. {
  22.    e.f = new g();
  23. }
  24. §§pop();
  25. if(!e.f.h)
  26. {
  27.    e.f.h = new g();
  28. }
  29. §§pop();
  30. if(!e.f.h[§§constant(4)])
  31. {
  32.    var _loc2_ = f.h[┬º┬ºconstant(4)] = function(iObj)
  33.    {
  34.       this[┬º┬ºconstant(5)] = 100;
  35.       this[┬º┬ºconstant(6)] = iObj[┬º┬ºconstant(6)];
  36.       this[┬º┬ºconstant(7)] = iObj[┬º┬ºconstant(7)];
  37.       this[┬º┬ºconstant(8)] = iObj[┬º┬ºconstant(8)];
  38.       this[┬º┬ºconstant(9)] = iObj[┬º┬ºconstant(9)];
  39.       this[┬º┬ºconstant(10)] = iObj[┬º┬ºconstant(10)];
  40.       this[┬º┬ºconstant(7)] = iObj[┬º┬ºconstant(7)];
  41.       this[┬º┬ºconstant(11)] = iObj[┬º┬ºconstant(11)];
  42.       this[┬º┬ºconstant(12)] = iObj[┬º┬ºconstant(12)];
  43.       this[┬º┬ºconstant(13)] = iObj[┬º┬ºconstant(9)] * 25;
  44.       this[┬º┬ºconstant(14)] = iObj[┬º┬ºconstant(10)] * 25;
  45.       this[┬º┬ºconstant(15)] = iObj[┬º┬ºconstant(11)] * 25;
  46.       this[┬º┬ºconstant(16)] = iObj[┬º┬ºconstant(17)] * 25;
  47.       this[┬º┬ºconstant(18)] = iObj[┬º┬ºconstant(18)];
  48.       this[┬º┬ºconstant(19)] = new g({┬º\┬º\┬ºconstant(20)┬º:this[┬º┬ºconstant(15)] + 8 * this[┬º┬ºconstant(18)],┬º\┬º\┬ºconstant(21)┬º:this[┬º┬ºconstant(16)] + 8 * this[┬º┬ºconstant(18)]});
  49.       this[┬º┬ºconstant(22)] = iObj[┬º┬ºconstant(22)];
  50.       this[┬º┬ºconstant(23)] = new ┬º\┬º\┬ºconstant(28)┬º(┬º┬ºconstant(27),┬º┬ºconstant(26),┬º┬ºconstant(25),┬º┬ºconstant(24));
  51.       this[┬º┬ºconstant(29)] = new ┬º\┬º\┬ºconstant(28)┬º(undefined,┬º┬ºconstant(33),┬º┬ºconstant(32),┬º┬ºconstant(31),┬º┬ºconstant(30));
  52.       this[┬º┬ºconstant(34)] = false;
  53.       this.h = this[┬º┬ºconstant(35)] = 0;
  54.    }[┬º┬ºconstant(36)];
  55.    _loc2_[┬º┬ºconstant(37)] = function()
  56.    {
  57.       var _loc5_ = undefined;
  58.       if(this[┬º┬ºconstant(22)] == 0)
  59.       {
  60.          this[┬º┬ºconstant(38)] = _global[┬º┬ºconstant(39)][┬º┬ºconstant(40)];
  61.          _loc5_ = 21;
  62.       }
  63.       else
  64.       {
  65.          this[┬º┬ºconstant(38)] = _global[┬º┬ºconstant(39)][┬º┬ºconstant(41)];
  66.          _loc5_ = 20;
  67.       }
  68.       var _loc8_ = this[┬º┬ºconstant(19)][┬º┬ºconstant(20)] + 12.5;
  69.       var _loc7_ = this[┬º┬ºconstant(19)][┬º┬ºconstant(21)] + 12.5;
  70.       var _loc9_ = new eval(┬º┬ºconstant(44))[┬º┬ºconstant(45)][┬º┬ºconstant(46)](this[┬º┬ºconstant(12)][┬º┬ºconstant(20)] + _loc8_ - this[┬º┬ºconstant(12)][┬º┬ºconstant(43)] / 2 - _loc5_,this[┬º┬ºconstant(12)][┬º┬ºconstant(21)] + _loc7_ - this[┬º┬ºconstant(12)][┬º┬ºconstant(42)] / 2 - _loc5_);
  71.       var _loc6_ = _root[┬º┬ºconstant(51)](f[┬º┬ºconstant(48)][┬º┬ºconstant(49)][┬º┬ºconstant(50)](),_root[┬º┬ºconstant(47)]());
  72.       f[┬º┬ºconstant(48)][┬º┬ºconstant(52)][┬º┬ºconstant(53)](_loc6_,_loc5_,_loc5_,_loc5_,20,this[┬º┬ºconstant(38)]);
  73.       var _loc4_ = new eval(┬º┬ºconstant(44))[┬º┬ºconstant(54)][┬º┬ºconstant(55)](_loc5_ * 2,_loc5_ * 2,true,0);
  74.       _loc4_[┬º┬ºconstant(56)](_loc6_);
  75.       _loc4_[┬º┬ºconstant(59)](_loc4_,new eval(┬º┬ºconstant(44))[┬º┬ºconstant(45)][┬º┬ºconstant(58)](0,0,_loc4_[┬º┬ºconstant(43)],_loc4_[┬º┬ºconstant(42)]),new eval(┬º┬ºconstant(44))[┬º┬ºconstant(45)][┬º┬ºconstant(46)](0,0),┬º┬ºconstant(57),4278190080,0,4278190080,false);
  76.       _global[┬º┬ºconstant(39)][┬º┬ºconstant(60)][┬º┬ºconstant(61)](_loc4_,new eval(┬º┬ºconstant(44))[┬º┬ºconstant(45)][┬º┬ºconstant(58)](0,0,_loc4_[┬º┬ºconstant(43)],_loc4_[┬º┬ºconstant(42)]),_loc9_,null,null,false);
  77.       _loc4_[┬º┬ºconstant(62)]();
  78.       false;
  79.       _loc6_[┬º┬ºconstant(63)]();
  80.    };
  81.    _loc2_[┬º┬ºconstant(64)] = function()
  82.    {
  83.       if(this[┬º┬ºconstant(22)] == 0)
  84.       {
  85.          return false;
  86.       }
  87.       if(this[┬º┬ºconstant(22)] > 2)
  88.       {
  89.          return false;
  90.       }
  91.       this[┬º┬ºconstant(35)] = 1 - this[┬º┬ºconstant(35)];
  92.       this[┬º┬ºconstant(34)] = false;
  93.       return true;
  94.    };
  95.    _loc2_[┬º┬ºconstant(65)] = function(need)
  96.    {
  97.       var _loc3_ = undefined;
  98.       var _loc2_ = undefined;
  99.       if(need != 0)
  100.       {
  101.          _loc3_ = ┬º┬ºconstant(66);
  102.          _loc2_ = this[┬º┬ºconstant(29)][need];
  103.       }
  104.       else
  105.       {
  106.          _loc3_ = ┬º┬ºconstant(67);
  107.          _loc2_ = this[┬º┬ºconstant(29)][this.h];
  108.       }
  109.       this[┬º┬ºconstant(68)](_loc2_,_loc3_);
  110.       this.h = need;
  111.       return true;
  112.    };
  113.    _loc2_[┬º┬ºconstant(69)] = function(stat)
  114.    {
  115.       var _loc4_ = undefined;
  116.       var _loc2_ = undefined;
  117.       if(this[┬º┬ºconstant(22)] < stat)
  118.       {
  119.          _loc4_ = ┬º┬ºconstant(66);
  120.          _loc2_ = this[┬º┬ºconstant(23)][stat];
  121.       }
  122.       else
  123.       {
  124.          _loc4_ = ┬º┬ºconstant(67);
  125.          if(stat == 0 && this[┬º┬ºconstant(22)] == 1)
  126.          {
  127.             _loc2_ = ┬º┬ºconstant(27);
  128.          }
  129.          else
  130.          {
  131.             _loc2_ = this[┬º┬ºconstant(23)][this[┬º┬ºconstant(22)]];
  132.          }
  133.       }
  134.       if(stat == 0)
  135.       {
  136.          this[┬º┬ºconstant(70)] = this[┬º┬ºconstant(22)];
  137.       }
  138.       this[┬º┬ºconstant(68)](_loc2_,_loc4_);
  139.       this[┬º┬ºconstant(22)] = stat;
  140.       this[┬º┬ºconstant(35)] = 0;
  141.       this[┬º┬ºconstant(34)] = false;
  142.       if(this[┬º┬ºconstant(71)]() == ┬º┬ºconstant(27))
  143.       {
  144.          this[┬º┬ºconstant(5)] = 100;
  145.          this[┬º┬ºconstant(72)] = ┬º┬ºconstant(74)(this,┬º┬ºconstant(73),40);
  146.       }
  147.       return true;
  148.    };
  149.    _loc2_[┬º┬ºconstant(68)] = function(icon, type)
  150.    {
  151.       if(f[┬º┬ºconstant(48)][┬º┬ºconstant(78)][┬º┬ºconstant(79)](this[┬º┬ºconstant(77)](),this[┬º┬ºconstant(76)](),_global[┬º┬ºconstant(75)][┬º┬ºconstant(20)],_global[┬º┬ºconstant(75)][┬º┬ºconstant(21)]) > 500)
  152.       {
  153.          return undefined;
  154.       }
  155.       if(icon == ┬º┬ºconstant(24))
  156.       {
  157.          icon = ┬º┬ºconstant(80);
  158.       }
  159.       if(icon == ┬º┬ºconstant(81))
  160.       {
  161.          icon = ┬º┬ºconstant(27);
  162.       }
  163.       if(icon == ┬º┬ºconstant(25))
  164.       {
  165.          icon = ┬º┬ºconstant(26);
  166.       }
  167.       var _loc4_ = f[┬º┬ºconstant(48)][┬º┬ºconstant(85)][┬º┬ºconstant(86)](_global[┬º┬ºconstant(83)][┬º┬ºconstant(84)],┬º┬ºconstant(82));
  168.       var _loc5_ = _global[┬º┬ºconstant(83)][┬º┬ºconstant(84)][┬º┬ºconstant(94)](┬º┬ºconstant(93),┬º┬ºconstant(93) + _loc4_,_loc4_,{┬º\┬º\┬ºconstant(87)┬º:this[┬º┬ºconstant(77)]() - 9 - _global[┬º┬ºconstant(75)][┬º┬ºconstant(88)],┬º\┬º\┬ºconstant(89)┬º:this[┬º┬ºconstant(76)]() - 9 - _global[┬º┬ºconstant(75)][┬º┬ºconstant(90)],┬º\┬º\┬ºconstant(20)┬º:this[┬º┬ºconstant(77)]() - 9,┬º\┬º\┬ºconstant(21)┬º:this[┬º┬ºconstant(76)]() - 9,┬º\┬º\┬ºconstant(91)┬º:icon,┬º\┬º\┬ºconstant(92)┬º:type});
  169.       _loc5_[┬º┬ºconstant(95)] = function()
  170.       {
  171.          this[┬º┬ºconstant(87)] = this[┬º┬ºconstant(20)] - _global[┬º┬ºconstant(75)][┬º┬ºconstant(88)];
  172.          this[┬º┬ºconstant(89)] = this[┬º┬ºconstant(21)] - _global[┬º┬ºconstant(75)][┬º┬ºconstant(90)];
  173.          ┬º┬ºconstant(96)();
  174.       };
  175.       _global[┬º┬ºconstant(97)][┬º┬ºconstant(98)](┬º┬ºconstant(95),_loc5_);
  176.    };
  177.    _loc2_[┬º┬ºconstant(73)] = function()
  178.    {
  179.       this[┬º┬ºconstant(5)] -= 4;
  180.       this[┬º┬ºconstant(12)][┬º┬ºconstant(99)](this);
  181.       if(this[┬º┬ºconstant(5)] <= 0)
  182.       {
  183.          ┬º┬ºconstant(100)(this[┬º┬ºconstant(72)]);
  184.          this[┬º┬ºconstant(12)][┬º┬ºconstant(101)](this);
  185.       }
  186.    };
  187.    _loc2_[┬º┬ºconstant(71)] = function()
  188.    {
  189.       return this[┬º┬ºconstant(23)][this[┬º┬ºconstant(22)]];
  190.    };
  191.    _loc2_[┬º┬ºconstant(102)] = function(t)
  192.    {
  193.       var _loc2_ = 0;
  194.       while(_loc2_ < this[┬º┬ºconstant(23)][┬º┬ºconstant(103)])
  195.       {
  196.          if(this[┬º┬ºconstant(23)][_loc2_] == t)
  197.          {
  198.             this[┬º┬ºconstant(22)] = _loc2_;
  199.          }
  200.          _loc2_ = _loc2_ + 1;
  201.       }
  202.       return this[┬º┬ºconstant(71)]();
  203.    };
  204.    _loc2_[┬º┬ºconstant(104)] = function()
  205.    {
  206.       return this[┬º┬ºconstant(29)][this.h];
  207.    };
  208.    _loc2_[┬º┬ºconstant(77)] = function()
  209.    {
  210.       return this[┬º┬ºconstant(12)][┬º┬ºconstant(20)] - this[┬º┬ºconstant(12)][┬º┬ºconstant(43)] / 2 + this[┬º┬ºconstant(19)][┬º┬ºconstant(20)] + 12.5;
  211.    };
  212.    _loc2_[┬º┬ºconstant(76)] = function()
  213.    {
  214.       return this[┬º┬ºconstant(12)][┬º┬ºconstant(21)] - this[┬º┬ºconstant(12)][┬º┬ºconstant(42)] / 2 + this[┬º┬ºconstant(19)][┬º┬ºconstant(21)] + 12.5;
  215.    };
  216.    ┬º┬ºpush(_loc2_[┬º┬ºconstant(106)](┬º┬ºconstant(105),_loc2_[┬º┬ºconstant(104)],function()
  217.    {
  218.    }
  219.    ));
  220.    ┬º┬ºpush(_loc2_[┬º┬ºconstant(106)](┬º┬ºconstant(107),_loc2_[┬º┬ºconstant(71)],_loc2_[┬º┬ºconstant(102)]));
  221.    ┬º┬ºpush(_loc2_[┬º┬ºconstant(106)](┬º┬ºconstant(20),_loc2_[┬º┬ºconstant(77)],function()
  222.    {
  223.    }
  224.    ));
  225.    ┬º┬ºpush(_loc2_[┬º┬ºconstant(106)](┬º┬ºconstant(21),_loc2_[┬º┬ºconstant(76)],function()
  226.    {
  227.    }
  228.    ));
  229.    ┬º┬ºpush(┬º┬ºconstant(108)(f.h[┬º┬ºconstant(4)][┬º┬ºconstant(36)],null,1));
  230. }
  231. §§pop();
  232.